Repository navigation
GH-46336: [Release][Packaging] Add support for Reproducible Builds for source archive - #46342
Conversation
|
|
|
Ah, https://infra.apache.org/release-signing.html#automated-release-signing includes the following:
We need to add a reproducible check to |
Implemented. |
|
@assignUser @raulcd Do you want to review this before we request a review from INFRA? |
|
I asked INFRA to review and enable automatic release signing for source arhicve: https://issues.apache.org/jira/browse/INFRA-26808 |
|
Sorry, I didn't have time to have a look so far, but this is great! |
There was a problem hiding this comment.
I was hoping we can use something like https://salsa.debian.org/reproducible-builds/strip-nondeterminism but it might not have support for tar files.
There was a problem hiding this comment.
Wow, I didn't know the tool. It's introduced in https://reproducible-builds.org/docs/stripping-unreproducible-information/ .
The approaches used here are listed in https://reproducible-builds.org/docs/archives/ .
Let's use GNU tar for now because strip-nondeterminism doesn't have tar support.
There was a problem hiding this comment.
Can we add a comment pointing to https://reproducible-builds.org/docs/stripping-unreproducible-information/ ?
There was a problem hiding this comment.
Why don't we use SOURCE_DATE_EPOCH?
There was a problem hiding this comment.
I didn't know SOURCE_DATE_EPOCH.
I used it with tar not here.
…lds for source archive See https://reproducible-builds.org/ for Reproducible Builds. Automated Release Signing requires this: https://infra.apache.org/release-signing.html#automated-release-signing
|
INFRA set |
41294da to
49b0858
Compare
|
I'm waiting an answer from INFRA because INFRA might set typo-ed secret variable name. If there is no answer in this week, I'll merge this without an answer from INFRA. |
|
There is a typo in secret variable name. I'll merge this after the typo is fixed by INFRA. |
|
The typo was fixed: https://issues.apache.org/jira/browse/INFRA-26808?focusedCommentId=17986958&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17986958 I'll merge this to try this in 21.0.0 release. |
|
After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit a4d735a. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
Rationale for this change
See https://reproducible-builds.org/ for Reproducible Builds.
Automated Release Signing requires this:
https://infra.apache.org/release-signing.html#automated-release-signing
What changes are included in this PR?
dev/release/utils-create-release-tarball.shreproducibleAre these changes tested?
Yes.
Are there any user-facing changes?
No.